﻿using Api.Web.filter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Api.Model;
using Api.Web.helper;

namespace Api.Web.Areas.Admin.Controllers
{
    /// <summary>
    /// 后台基类
    /// </summary>
    public class AdminController : Controller
    {
        public int projectId = (Th.CurrentProject?.Id).GetValueOrDefault();
        public int userId = Th.UserId;
        protected override void Dispose(bool disposing)
        {
            //if (disposing)
            //{
            //    Db.Current.Dispose();
            //}
            base.Dispose(disposing);
        }
    }
}